#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>

#include <painterarea.h>
#include <QLabel>
#include <QComboBox>
#include <QGridLayout>


QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();


public slots:
    void dispShapeFunc(int);

private:
    Ui::Widget *ui;
    PainterArea* labelshapeArea;  //自定绘图类
    QLabel* labelshape;
    QComboBox* comboboxshape;  //下拉框
    QGridLayout* glayout;   //网格布局
};
#endif // WIDGET_H
